package com.glodon.paas.monitor.server.biz.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.glodon.paas.monitor.server.biz.domain.MonitorUserAppEntity;

public interface MonitorUserAppMapper {

	int deleteByPrimaryKey(Long id);

	int insert(MonitorUserAppEntity record);

	int insertSelective(MonitorUserAppEntity record);

	MonitorUserAppEntity selectByPrimaryKey(Long id);

	List<MonitorUserAppEntity> selectByAppId(@Param("appId") Long appId);

	MonitorUserAppEntity selectByUserId(@Param("userId") Long userId);

	int updateByPrimaryKeySelective(MonitorUserAppEntity record);

	int updateByPrimaryKey(MonitorUserAppEntity record);
}